package com.indusfo.spc.vo;

import com.indusfo.spc.exception.ParamsErrorException;

/**
 * @Author: 熊冰
 * @Date: 2019/11/9 9:18
 * 统一提示信息
 */
public class HintMessage {
    //基本提示
    //新增成功
    public static final String INSERT_SUCCESS = "新增成功";
    //新增失败
    public static final String INSERT_DEFEATED = "新增失败";
    //修改成功
    public static final String UPDATE_SUCCESS = "编辑成功";
    //修改失败
    public static final String UPDATE_DEFEATED = "编辑失败";
    //查询成功
    public static final String QUERY_SUCCESS = "查询成功";
    //查询失败
    public static final String QUERY_DEFEATED = "查询失败";
    //删除成功
    public static final String DELETE_SUCCESS = "删除成功";
    //删除失败
    public static final String DELETE_DEFEATED = "删除失败";
    //启用成功
    public static final String START_SUCCESS = "启用成功";
    //启用失败
    public static final String START_DEFEATED = "启用失败";
    //停用成功
    public static final String STOP_SUCCESS = "停用成功";
    //停用失败
    public static final String STOP_DEFEATED = "停用失败";
    //保存成功
    public static final String SAVE_SUCCESS = "保存成功";
    //保存失败
    public static final String SAVE_DEFEATED = "保存失败";
    public static final String COPY_SUCCESS = "复制成功";
    //异常提示
    //新增时Id不能存在
    public static final String INSERT_ID = "新增时ID不能存在";
    //修改时id不能为空
    public static final String UPDATE_ID = "编辑时ID不能为空";
    //查询为空
    public static final String QUERY_NULL = "没有查询到相关消息";
    //数据状态不能为空
    public static final String DATASTATE_NULL = "数据状态不能为空";
    //数据集合不能为空
    public static final String LIST_NULL = "数据集合不能为空";
    //违规操作
    public static final String VIOLATION_OPERATION = "违规操作";
    //重复数据
    public static final String REPEATING_DATA = "该数据已存在";
    //编号不能为空
    public static final String CODE_NULL = "编号不能为空";
    //编号不能为空
    public static final String CODE_SIZE = "编号超过规定,长度100";
    //名称不能为空
    public static final String NAME_NULL = "名称不能为空";
    //名称不能为空
    public static final String NAME_SIZE = "名称超过规定,长度100";
    //物料ID不能为空
    public static final String MATID_NULL = "物料ID不能为空";
    //产品流程ID不能为空
    public static final String MATFLOWID_NULL = "产品流程ID不能为空";
    //不良现象ID不能为空
    public static final String BADPHENOID_NULL = "不良现象ID不能为空";
    //工位ID不能为空
    public static final String STATIONID_NULL = "工位ID不能为空";
    //扣减方式ID不能为空
    public static final String REDUCETYPEID_NULL = "扣减方式ID不能为空";
    //采集参数ID不能为空
    public static final String DETEID_NULL = "采集方式ID不能为空";
    //数据不能为空
    public static final String DATA_NULL = "数据不能为空";
    //维修ID不能为空
    public static final String REPAIRID_NULL = "维修ID不能为空";
    //物料版本ID不能为空
    public static final String MATVERID_NULL = "物料版本ID不能为空";
    //条码规则id不能为空
    public static final String RULEID_NULL ="条码规则id不能为空" ;
    //条码规则类型不能为空
    public static final String RULETYPEID_NULL ="条码规则类型不能为空" ;
    ;    //条码规则常量初始值不能为空
    public static final String CHARVALUE_NULL = "条码规则常量初始值不能为空";
    //条码规则数值初始值不能为空
    public static final String NUMVALUE_NULL = "条码规则数值初始值不能为空";
    //条码规则明细不能为空
    public static final String RULEDETALI_NULL = "条码规则明细不能为空";
    //工序不能为空
    public static final String PROID_NULL = "工序ID不能为空";
    //并序状态不能为空
    public static final String SEQUENCE_NULL = "并序状态不能为空";
    //顺序号不能为空
    public static final String SERIALNUM_NULL = "顺序号不能为空";
    //维修流程不能为空
    public static final String MATREPAIRID_NULL = "维修流程ID不能为空";
    //维修流程明细id不能为空
    public static final String REPAIRDETAILID_NULL = "维修流程明细ID不能为空";
    //条码规则变量类型不能为空
    public static final String VARIATEFORMATID_NULL ="条码规则变量格式不能为空" ;
    //条码规则变量类型不能为空
    public static final String VARIATETYPEID_NULL = "条码规则变量类型不能为空";
    //条码规则起始值不能为空
    public static final String ENDNUM_NULL = "条码规则起始值不能为空";
    //条码规则结束值不能为空
    public static final String STARTNUM_NULL = "条码规则结束值不能为空";
    //条码规则数值长度不能为空
    public static final String NUMLENGTH_NULL ="条码规则数值长度不能为空" ;
    //条码规则步长不能为空
    public static final String NUMSTEP_NULL = "条码规则步长不能为空";
    //条码规则日期格式不能为空
    public static final String RULEFORMATID_NULL = "条码规则日期格式不能为空";

    //请填写规格上限
    public static final String UPPERLIMIT_NULL = "请填写规格上限";
    //请填写规格下限
    public static final String LOWERLIMIT_NULL = "请填写规格下限";
    //请填写规格中心值
    public static final String MIDDLELIMIT_NULL = "请填写规格中心值";
    //规格上限超过规定长度
    public static final String UPPERLIMIT_SIZE = "规格上限超过规定长度";
    //规格下限超过规定长度
    public static final String LOWERLIMIT_SIZE = "规格下限超过规定长度";
    //规格中心值超过规定长度
    public static final String MIDDLELIMIT_SIZE = "规格中心值超过规定长度";
    //规格上限值小于规格下限值
    public static final String UPPERLIMIT_LOWERLIMIT = "规格上限值小于规格下限值";
    //规格中心值小于规格下限值
    public static final String MIDDLELIMIT_LOWERLIMIT = "规格中心值小于规格下限值";
    //规格中心值大于规格上限值
    public static final String MIDDLELIMIT_UPPERLIMIT = "规格中心值大于规格上限值";
    //条码规则必须有一个数值类型
    public static final String RULE_COUNT_SMALL ="条码规则必须有一个数值类型" ;
    //条码规则只能有一个数值类型
    public static final String RULE_COUNT_BIG ="条码规则只能有一个数值类型" ;
    //条码规则步长过大
    public static final String NUMLENGTH_NUMSTEP = "条码规则步长过大";
    //条码规则初始长度过短
    public static final String NUMLENGTH_SMALL = "条码规则初始长度过短" ;
    //备注不能超过100
    public static final String REMARIK_LONG = "备注不能超过100";

    //批次流程ID不能为空
    public static final String BATCHFLOWID_NULL = "批次流程ID不能为空";
    //任务单流程ID不能为空
    public static final String ORDERFLOWID_NULL = "任务单流程ID不能为空";
    //任务单ID不能为空
    public static final String ORDERID_NULL = "任务单ID不能为空";
    //维修工序段ID不能为空
    public static final String ORDERREPAIRID_NULL = "维修工序段ID不能为空";
    //是否为关键物料ID不能为空
    public static final String KEYMATERIAL_NULL = "是否为关键物料ID不能为空";
    //批次ID不能为空
    public static final String BATCHID_NULL = "批次ID不能为空";
    //批次流程维修工序段ID不能为空
    public static final String BATCHREPAIRID_NULL = "批次流程维修工序段ID不能为空";
    //创建人ID不能为空
    public static final String USERID_NULL = "创建人ID不能为空";
    //任务单版本ID不能为空
    public static final String ORDERTECHID_NULL = "任务单版本ID不能为空";
    //版本来源ID不能为空
    public static final String SOURCETYPEID_NULL = "版本来源ID不能为空";
    //该版本已被使用
    public static final String ORDERTECH_USE = "该版本已被使用,请先复制新的流程";
    // 该条码已被物料使用
    public static final String MAT_USE = "该条码已被使用";
    // 该不良现象已被采集项目使用
    public static final String DETE_USE = "该不良现象已被使用";


    //独立提示
    //新增
    public static final String INSERT_VALUE = "新增";
    //修改
    public static final String UPDATE_VALUE = "编辑";
    //查询
    public static final String QUERY_VALUE = "查询";
    //删除
    public static final String DELETE_VALUE = "删除";
    //启用
    public static final String START_VALUE = "启用";
    //停用
    public static final String STOP_VALUE = "停用";
    //成功
    public static final String SUCCESS_VALUE = "成功";
    //失败
    public static final String DEFEATED_VALUE = "失败";



}
